home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir39
/
1st_boot.zip
/
1ST-BOOT.TXT
< prev
next >
Wrap
Text File
|
1993-11-04
|
979b
|
27 lines
Public Domain 1993 Eric Johnson CIS 72030,2503
1st-boot.com
Checks to see if this is the first time it has run today.
It returns:
1 for first time today
0 for other times today
Tryit.bat is a simple application for using 1st-boot.com
Gorey Technical Details:
Put 1st-boot.com in the root directory of your boot device. If you want
to have it in a different directory or drive, you must patch it yourself.
A small bit of extra space is included for patch.
The date-of-month is stored inside the COM file itself. This way a
separate disk access is not required for a data file. This means that
you should not set the read-only attribute for 1st-boot, since the new
day-of-month is written to it the first time run that day. It also saves
the disk space of a data file, which would be a whole cluster (.5k to 4k).
You can test it by changing your system's DATE and using tryit.bat.